import request from '@/utils/request'

const home = {
  getMyDeptProjectCount(){
    return request.get(`/kjsf/index/getMyDeptProjectCount`);
  },
  getProjectCountInPhase(){
    return request.get(`/kjsf/index/getProjectCountInPhase`);
  },
  getMapByYear(){
    return request.get(`/kjsf/index/getMapByYear`);
  },
  getMoneyMapByYear(){
    return request.get(`/kjsf/index/getMoneyMapByYear`);
  },
  getDeptProjectRanking(params){
    return request.get(`/kjsf/index/getDeptProjectRanking`, {params});
  },
  // 管理员 获取待我审批
  getGlyGztCount(){
    return request.get(`/kjsf/index/getGlyGztCount`);
  },
  // 申报员 获取待我审批
  getPtGztCount(){
    return request.get(`/kjsf/index/getPtGztCount`);
  },
  // 专家 待我事项
  getZjGztCount(){
    return request.get(`/kjsf/index/getZjGztCount`);
  },
}

export default home;

